package com.robot.mvvm.ui.main

import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import com.robot.base.base.activity.GLBaseFragment
import com.robot.mvvm.R
import com.robot.mvvm.databinding.AppFragmentWorkOrderBinding
import com.robot.mvvm.vm.main.WorkBenchFragmentViewModel
import com.robot.mvvm.vm.main.WorkOrderViewModel
import me.goldze.mvvmhabit.BR

class WorkOrderFragment :
    GLBaseFragment<AppFragmentWorkOrderBinding, WorkOrderViewModel>() {

    override fun initContentView(
        inflater: LayoutInflater?,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): Int = R.layout.app_fragment_work_order

    override fun initVariableId(): Int = BR.viewModel

    override fun initComponents() {

        viewModel.initData()
    }
}